<div class="header">
  <back-Btn></back-Btn>
  自定义流程
</div>
<div class="container finance">
  <div class="list f_sk">
    <div class="list-item required icon_more">
      <div class="item-label">类型</div>
      <label class="flow-content">
        <select
          ng-model="param.field1"
          ng-options="item.value as item.key for item in userTypeList"
          ng-change="getusers()"
        >
          <option value="">请选择</option>
        </select>
      </label>
    </div>
    <label class="list-item required">
      <p class="item-label">标题</p>
      <p class="flow-content">
        <input type="text" ng-model="param.title" />
      </p>
    </label>
    <label class="list-item required">
      <p class="item-label">事由</p>
      <p class="flow-content">
        <input type="text" ng-model="param.content" />
      </p>
    </label>
    <div
      rela-module
      taskid="process_id"
      param="param"
      rel="CADUIT_MODULE"
    ></div>
    <div class="list-item list-item-textarea">
      <div class="item-label">备注</div>
      <div class="flow-content">
        <textarea cols="30" rows="10" ng-model="param.remark"></textarea>
      </div>
    </div>
    <div class="list-item icon_more" ng-click="choosepeople()">
      <div class="item-label">审批人员</div>
      <div class="flow-content">{{ param.aduitUserNames }}</div>
    </div>
    <div
      user-defined
      param="param"
      field-map="param.fieldMap"
      validation="validation"
      uid="param.uid"
      processid="param.processInstanceId"
    ></div>
    <!-- 附件 -->
    <div class="file-upload" file-upload file-data="param.attachment"></div>
    <!-- 审查日志 -->
    <div log-list status="processStatus" taskid="process_id"></div>
  </div>
</div>
<!-- 删除流程 -->
<div
  delete-flow
  uid="param.uid"
  id="{{ param.processInstanceId }}"
  submit="submit"
  validate="validate"
></div>
